package day20170420.student;

public class Student implements StudentDao{
	/**
	 * 学生名字
	 */
	private String name;
	
	/**
	 * 学生年龄
	 */
	private Integer age;
	
	/**
	 * 学生性别
	 */
	private Character sex;
	
	/**
	 * 生成set/get
	 * @return
	 */
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public Character getSex() {
		return sex;
	}

	public void setSex(Character sex) {
		this.sex = sex;
	}
	
	/**
	 * 重写toString
	 */
	@Override
	public String toString() {
		return "Student [name=" + name + ", age=" + age + ", sex=" + sex + "]";
	}
	
}	
